(function($) {
	
	$.fn.logger.type = [
	    "DEBUG",
	    "INFO",
	    "WARN",
	    "ERROR"
	]

	$.fn.logger.method = 
	
var ALERT = 1;
var CONSOLE = 0;

var level = DEBUG;
var method = ALERT;

function print(level,str) {
	if (mehtod === ALERT) {
		alert(level+": "+str);
	} else if(method === CONSOLE) {
		if (console) {
			console.info(level+": "+str);
		} else {
			alert(level+": "+str);
		}
	} else {
		alert(level+": "+str);
	}
}

/**
 *
 *
 * @param String that will be print
 */
function debug(str) {
	if(level === DEBUG) {
		print(DEBUG,str);
	}
}

/**
 *
 *
 * @param String that will be print
 */
function error(str) {
	if(level === ERROR) {
		print(ERROR,str);
	}
}

/**
 *
 *
 * @param String that will be print
 */
function info(str) {
	if(level === IFNO) {
		print(INFO,str);
	}
}

})(jQuery);